package com.zx;

import com.zx.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @ProjectName: myjdbc
 * @Package: com.zx
 * @ClassName: BoundSql
 * @Author: 1
 * @Description: 1
 * @Date: 2021/9/6 19:13
 */
public class BoundSql {

    //解析过后的sql
    private String sqlText;

    private List<ParameterMapping> parameterMappingList = new ArrayList<>();

    public BoundSql(String sqlText, List<ParameterMapping> parameterMappingList) {
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
